package com.cmsz.order.remote;

import java.security.cert.CertificateException;

public interface UnionRemoteService {
	
	public String sign(String certId, String plainText)throws CertificateException ;

	public boolean verify(String certId, String plainText, String signature) throws CertificateException;
	
	public String signByMerId(String merId, String plainText)throws CertificateException ;
	
	public boolean verifyByMerId(String merId, String plainText, String signature) throws CertificateException;
	
}
